function HyperLinkTypeRender(){};
HyperLinkTypeRender.render = function (rowIndex,colIndex,value,header,cell){
	var mainView = window.pageUI.getWidget('main');
	var ds = mainView.getDataset("UsedcarAuthVO");
	var row = this.getDatasetRow(rowIndex); 
	var rowId=row.rowId;
	var id = row.getCellValue(ds.nameToIndex("pk_usedcar_auth"));
	cell.innerHTML = "<a href = 'javascript:void(0)' onclick=showView("+ colIndex + ",'"+rowId+"','"+id+"')>" +value+"</a>";
};

function showView(colIndex,rowId,id){
	var proxy = new ServerProxy(null,null,false);
	proxy.addParam('clc', ' vp.vphusedcar.certification.usedcarauthqueryvp.list.UsedcarauthqueryvpListWinMainViewCtrl');
	proxy.addParam('m_n', 'onUpdateUsedcarAuthClick');
	proxy.addParam('pk_usedcar_auth', id);
	proxy.addParam('rowId', rowId);
	proxy.execute();
	var e = EventUtil.getEvent();
    stopAll(e);
}
